//
//  RNImageViewManager.m
//  app
//
//  Created by 张舰 on 2017/12/8.
//  Copyright © 2017年 Facebook. All rights reserved.
//

#import "RNImageViewManager.h"
#import <UIKit/UIKit.h>

@implementation RNImageViewManager

RCT_EXPORT_MODULE()

RCT_EXPORT_VIEW_PROPERTY(imageNamed, NSString)

- (UIView *)view {
  UIImage* pic = [UIImage imageNamed:@""];
  UIImageView* imageView = [[UIImageView alloc] initWithFrame:CGRectMake( 0, 0, 150, 200)];
  [imageView setImage:pic];
  return imageView;
}

@end
